package com.daoshu.mti.kafkaclient;

import lombok.extern.log4j.Log4j2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync
@MapperScan("com.daoshu.mti.kafkaclient.dao")
@Log4j2
public class KafkaclientApplication {

    public static void main(String[] args) {

        SpringApplication.run(KafkaclientApplication.class, args);
        log.info("kafka service init success!!");
    }

}
